//package cur.admin.web.config.server.config;
//
//import org.springframework.cache.annotation.EnableCaching;
//import org.springframework.context.annotation.Bean;
//import org.springframework.context.annotation.Configuration;
//import org.springframework.session.data.redis.config.ConfigureRedisAction;
//import org.springframework.session.data.redis.config.annotation.web.http.EnableRedisHttpSession;
//
//@EnableCaching
//@EnableRedisHttpSession(maxInactiveIntervalInSeconds = 1800)//session过期时间(秒)
//@Configuration
//public class SessionConfig
//{
//    @Bean
//    public static ConfigureRedisAction configureRedisAction()
//    {
//        //让springSession不再执行config命令
//        return ConfigureRedisAction.NO_OP;
//    }
//}
